[NTG-context] Re: Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
pages > flushing realpage 135, userpage 135, subpage 135 structures > bookmark: Prueba de homogeneidad structure > sectioning > section @ level 3 : 0.7.2 -> Prueba de homogeneidad structures > bookmark: Hipótesis structure > sectioning > subsu

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
pear. On the other >> > hand, the 12 chapters are present. >> >> \startproduct[terminale-manual] >> >> \startfrontmatter >> \starttitle[title=Table des matières] >> \placelist >> [cha

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
I don't see why the table of contents does not appear. On the other > > hand, the 12 chapters are present. > > \startproduct[terminale-manual] > > \startfrontmatter > \starttitle[title=Table des matières] > \placelist >

Re: [NTG-context] Table of contents not appearing.

2023-04-20 Thread Hans Hagen via ntg-context
[chapter,section,subsection,subsubsection] [criterium=all, interaction=all, alternative=c] \stoptitle \stopfrontmatter \startbodymatter \chapter{xxx} \stopbodymatter \stopproduct shows a table of contents so

[NTG-context] Table of contents not appearing.

2023-04-20 Thread Fabrice Couvreur via ntg-context
] \setuplist [subsection] [margin=2.75em, width=2.25em, distance=\spaceamount] \starttitle[title=Table des matières] \placelist [chapter,section,subsection,subsubsection] [criterium=all, interaction=all, alternative=c

[NTG-context] Trial to use LibreOffice Calc (+ python) to build ConTeXt customized environnements files

2023-04-10 Thread Garulfo via ntg-context
sectionsegments=1:3, page=yes, align=flushleft, ] \setuphead [subject] [ ] \setuphead [subsection] [ style=\bfa, textcolor=Couleur4, numbercolor=CouleurContraste4, sectionsegments=1:4, align=flushleft, ] \setuphead [subsubject] [ ] \setuphead [subsubsec

Re: [NTG-context] alternative en TOC

2022-10-06 Thread Horacio Suárez via ntg-context
[A7,landscape] \setuplist[alternative=c] \setuplist[subsection][alternative=d] \starttext \placecontent \hairline \section{Section} \subsection{Subsection} \subsubsection{Subsubsection} \stoptext Check if your braces/brackets are r

Re: [NTG-context] alternative en TOC

2022-10-06 Thread Henning Hraban Ramm via ntg-context
\hairline \section{Section} \subsection{Subsection} \subsubsection{Subsubsection} \stoptext Check if your braces/brackets are right. Hraban ___ If your question is of interest to others as well, please ad

Re: [NTG-context] Improving pandoc's ConTeXt output

2022-06-05 Thread Albert Krewinkel via ntg-context
ible) > > Someone who maintains an export programme for ConTeXt uses > sectionlevels. > > You get the incremental subsections and subsubsection like this. > > \startsectionlevel > \startsectionlevel > \startsectionlevel > \stopsectionlevel > \stopsecti

Re: [NTG-context] Improving pandoc's ConTeXt output

2022-06-05 Thread Denis Maier via ntg-context
ceptable > >practice? > > A similiary question came up in the org-mode mailinglist some weeks ago. > > (Background: Org-mode is a markup used with Emacs to make single source > publishing possible) > > Someone who maintains an export progr

Re: [NTG-context] Improving pandoc's ConTeXt output

2022-06-05 Thread juh via ntg-context
e >practice? A similiary question came up in the org-mode mailinglist some weeks ago. (Background: Org-mode is a markup used with Emacs to make single source publishing possible) Someone who maintains an export programme for ConTeXt uses sectionlevels. You get the incremental subsections and

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Bruce Horrocks via ntg-context
using an Emacs macro to do the export then the following code will return the first 2 from the list of section types: (let ((list '("part" "chapter" "section" "subsection" "subsubsection" "subsubsubsection" "subsubsubsubsection

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-08-06 Thread Jeroen via ntg-context
tuphead[chapter][style=\bfd] \setuphead[section][style=\bfc] \setuphead[subsection][style=\bfb] \setuphead[subsubsection][style=\bf] \setupitemize[autointro] % prevent orphan list intro \setupitemize[indentnext=no] \starttext \startsection[title={MySlideTitle},ref={myref1}] Body text \startitem

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-07-31 Thread Jeroen via ntg-context
dium] \setuptyping[typing][bodyfont=16pt] \setupwhitespace[medium] \setbreakpoints[compound] \setuphead[chapter][style=\bfd] \setuphead[section][style=\bfc] \setuphead[subsection][style=\bfb] \setuphead[subsubsection][style=\bf] \setupitemize[autointro] % prevent orphan list intro \setupitemize[indent

Re: [NTG-context] One chapter with different heading settings

2021-05-23 Thread Rik Kabel
,     ...,       ] \setupcombinedlist [content]                        [list={chapter,RVchapter}] \placebookmarks [chapter,RVchapter,section,subsection,subsubsection]            [chapter]           [force=yes,number=no] -- Rik

Re: [NTG-context] Hyphen collapsing

2021-05-07 Thread Hans Hagen
}] \setuphead[subsection][align={nothyphenated,notcollapsed}] \setuphead[subsubsection][align={nothyphenated,notcollapsed}] Would "\nohyphencollapsing[head=yes]" allow the setting to apply once to all areas? \setuphead[align={nothyphenated,notcollapsed}] At some point I'll add som

Re: [NTG-context] Hyphen collapsing

2021-05-07 Thread Thangalin
={nothyphenated,notcollapsed}] \setuphead[subsubsection][align={nothyphenated,notcollapsed}] Would "\nohyphencollapsing[head=yes]" allow the setting to apply once to all areas? Thank you! ___ If your question is o

Re: [NTG-context] How to shift unnumbered ToC entry?

2020-09-23 Thread Wolfgang Schuster
Lukas/ConTeXt schrieb am 23.09.2020 um 10:33: Hello, how do I shift unnumbered ToC entry (here: \subsubsection)? My attempt: \setuphead[subsubsection][number=no] \setuplist[subsubsection][distance=20mm,width=20mm] \setuplist [subsubsection] [margin=5em] Wolfgang

Re: [NTG-context] How to shift unnumbered ToC entry?

2020-09-23 Thread Lukas/ConTeXt
unnumbered ToC entry? Hello Lukas, you can try this: \setuphead[subsubsection][number=no] \setuplist[subsubsection][distance=20mm,width=20mm,textcommand=\mycmd] \def\mycmd#1{\hskip20mm#1} \starttext \placecontent \page \section{S} \subsection{Ss} \subsubsection{Sss} \stoptext

Re: [NTG-context] How to shift unnumbered ToC entry?

2020-09-23 Thread Tomas Hala
Hello Lukas, you can try this: \setuphead[subsubsection][number=no] \setuplist[subsubsection][distance=20mm,width=20mm,textcommand=\mycmd] \def\mycmd#1{\hskip20mm#1} \starttext \placecontent \page \section{S} \subsection{Ss} \subsubsection{Sss} \stoptext Best wishes, Tomáš

[NTG-context] How to shift unnumbered ToC entry?

2020-09-23 Thread Lukas/ConTeXt
Hello, how do I shift unnumbered ToC entry (here: \subsubsection)? My attempt: \setuphead[subsubsection][number=no] \setuplist[subsubsection][distance=20mm,width=20mm] \starttext \placecontent \page \section{S} \subsection{Ss} \subsubsection{Sss} \stoptext I'm getting

Re: [NTG-context] LMTX running on macOS Catalina; fuzzy paragraphs; unwanted whitespace

2020-03-23 Thread T. Kurt Bond
multi columns text but it's a very recent addition and > lacks some features like column balancing. > > begin columns > \setuphead >[chapter,section,subsection,subsubsection] >[before={\blank[nowhite]}, > after={\blank[nowhite]}, > grid=no] > > \setupwh

Re: [NTG-context] LMTX running on macOS Catalina; fuzzy paragraphs; unwanted whitespace

2020-03-23 Thread Wolfgang Schuster
is another environment for multi columns text but it's a very recent addition and lacks some features like column balancing. begin columns \setuphead [chapter,section,subsection,subsubsection] [before={\blank[nowhite]}, after={\blank[nowhite]}, grid=no] \setupwhitespace [medium

Re: [NTG-context] LMTX running on macOS Catalina; fuzzy paragraphs; unwanted whitespace

2020-03-23 Thread T. Kurt Bond
,subsubsection] [before={\blank[nowhite]}, after={\blank[nowhite]}] \setupwhitespace [medium] %\showgrid \starttext \startcolumns[n=2] \completecontent \chapter{Chapter} \samplefile{knuth} \section{Section} \samplefile{weisman} \subsection{Subsection} \samplefile{weisman

Re: [NTG-context] LMTX running on macOS Catalina; fuzzy paragraphs; unwanted whitespace

2020-03-22 Thread Wolfgang Schuster
white space between paragraphs. Any ideas? Do you have a working minimal example for the problem because when I run the following example on my machine there is no extra whitespace. begin example \setuphead [chapter,section,subsection,subsubsection] [before={\blank[nowhi

Re: [NTG-context] Indenting entries in the table of contents?

2020-03-21 Thread Richard Mahoney | Indica et Buddhica
) > Am 2020-03-21 um 03:10 schrieb T. Kurt Bond : > > I'd like subsection entries in the table of contents to be indented > slightly, and subsubsection entries to be indented slightly more, > and subsubsubsection entries to be indented some more. > > Is there any way to do th

Re: [NTG-context] Indenting entries in the table of contents?

2020-03-21 Thread Henning Hraban Ramm
> Am 2020-03-21 um 03:10 schrieb T. Kurt Bond : > > I'd like subsection entries in the table of contents to be indented slightly, > and subsubsection entries to be indented slightly more, and subsubsubsection > entries to be indented some more. > > Is there any

[NTG-context] Indenting entries in the table of contents?

2020-03-20 Thread T. Kurt Bond
I'd like subsection entries in the table of contents to be indented slightly, and subsubsection entries to be indented slightly more, and subsubsubsection entries to be indented some more. Is there any way to do this? -- T. Kurt Bond, tkurtb...@gmail.com

[NTG-context] Suppress blank page in asymmetrical multicolumn layout

2019-12-06 Thread Thangalin
r={\column}, ] \setuphead[subsubsection][ after={\blank[small]}, ] \starttext \startsection[title={Section Title}] \startsubsection[title={Subtitle}] \dorecurse{2}{\input knuth} \dorecurse{2}{% \startsubsubsection[title={Subsubtitle}] \dorecurse{1}{\input ward} \dorecurse{2}{\input lorem}

Re: [NTG-context] Indenting number in TOC, particular numbering scheme, and other questions

2019-12-04 Thread Daniel Haid
, chapter, section, subsection, subsubsection, subsubsubsection][sectionconversionset=myconvset] \setuphead[chapter][sectionsegments=chapter,style=bold, after={\blank[small]},before={\blank[big]},sectionstopper=.] \setuphead[section][sectionsegments=section,style=bold, after={\blank[small

[NTG-context] Indenting number in TOC, particular numbering scheme, and other questions

2019-12-02 Thread Daniel Haid
\def\laarconv#1{(\alphabeticnumerals{#1}\alphabeticnumerals{#1})} \defineconversion[laar][\laarconv] \def\alpharconv#1{\greeknumerals{#1})} \defineconversion[alphar][\alpharconv] \definestructureconversionset[myconvset][,A,I,n,ar,aar,lnr,lar,laar,alphar] \setupheads[part, chapter,

[NTG-context] custom environment for geographical pictures; new head or special float?

2018-11-24 Thread Damien Thiriet
one, since other slides are not considered as subsubsections. If I stick to this, should I use subsubsection as a default which it's derived from. * creating a float would be better, since this is a float. Would there be a way to insert automatically key to symbols under the metapost

[NTG-context] xtables setup

2018-07-29 Thread Henning Hraban Ramm
subsubject\stopxcell\stopxrow \startxrow\startxcell 4\stopxcell\startxcell subsubsection\stopxcell\startxcell subsubsubject\stopxcell\stopxrow \stopxtablebody \stopxtable \stoptext Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID

Re: [NTG-context] \setupreferencestructureprefix and numberconversionset

2018-07-02 Thread Idris Samawi Hamid ادريس سماوي حامد
[title={},reference={reference4}] \input ward \stopsubsubsection \startsubsection[title={},reference={reference5}] \input ward See \in{Sections}[reference1] and \in{Section}[reference2]. \stopsubsection \stopchapter \stoptext === So, e.g., Chapter II, Subsection 1, Subsubsection 1 In the referen

Re: [NTG-context] \setupreferencestructureprefix and numberconversionset

2018-07-02 Thread Wolfgang Schuster
d See \in{Sections}[reference1] and \in{Section}[reference2]. \stopsubsection \stopchapter \stoptext === So, e.g., Chapter II, Subsection 1, Subsubsection 1 In the references we get 2.1.1 But what we want is II.1.1 Adding the following to the preamble doesn't appear t

[NTG-context] \setupreferencestructureprefix and numberconversionset

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
., Chapter II, Subsection 1, Subsubsection 1 In the references we get 2.1.1 But what we want is II.1.1 Adding the following to the preamble doesn't appear to work: \definestructureconversionset[OLIE][n,R,n,n,n,n][n] \setupreferencestructureprefix [section] [default

Re: [NTG-context] space sectioning control

2018-06-26 Thread Procházka Lukáš Ing .
\setuphead [subsubsection] [alternative=text, distance=0pt, textdistance=.5em] \starttext \startchapter[title={First}] \startsubsubsection \input ward \stopsubsubsection \stopchapter \stoptext Wolfgang Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 25. Ju

Re: [NTG-context] space sectioning control

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 25 Jun 2018 07:20:43 -0600, Wolfgang Schuster wrote: You have to change the value of textdistance. \setuphead [subsubsection] [alternative=text, distance=0pt, textdistance=.5em] \starttext \startchapter[title={First}] \startsubsubsection \input ward \stopsubsubsection

Re: [NTG-context] space sectioning control

2018-06-25 Thread Wolfgang Schuster
You have to change the value of textdistance. \setuphead [subsubsection] [alternative=text, distance=0pt, textdistance=.5em] \starttext \startchapter[title={First}] \startsubsubsection \input ward \stopsubsubsection \stopchapter \stoptext Wolfgang Idris Samawi Hamid ادريس سماوي

[NTG-context] Confusing level change message, why?

2018-06-15 Thread Rik Kabel
message, and how can it be removed (short of disabling pdf bookmarks)? \setupinteraction[state=start] \placebookmarks[chapter, section, subsection, subsubsection]    [chapter,section] \setupsectionblock[frontpart][page=] \setupsectionblock[bodypart] [page=]

Re: [NTG-context] Question to sectioning

2018-04-18 Thread Tomas Hala
; \definehead[specialpage][subsubsection] joined with redefinition of the design of this special subsubsection but I cannot believe that this is the proper solution. Have anybody idea how to do it better? Thanks in advance. The best, Tomáš # % TL2017 # # \definehead[specialpage][chapter]

[NTG-context] tex error Argument of \titlecmd has an extra }

2018-03-06 Thread ????????
etuptyping[bodyfont=9pt, numbering=line, before=\blank, after=\blank] \setupitemize[paragraph, packed, broad] % \setupcombinedlist[content][alternative=c,aligntitle=yes,interaction=pagenumber] \setuplist[section][margin=2em,] \setuplist[subsection][margin=5em,] \setuplist[subsubsection][margin=8em,

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 04 Mar 2018 06:29:53 -0700, Hans Hagen <pra...@wxs.nl> wrote: A working minimal example follows. Is this the recommended practice? Can it be streamlined further? : \placecontent \placelist[content] [subject,section,subsection,subsubsection] Hm, toggling lines 12-13

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Hans Hagen
he TOC, but style=bold doesn't work.  In approach II) style=bold works, but the subject heading doesn't show up.  For each approach, how do we get both subject heading and style=bold in the TOC? you set up individual lists elements at another level \setuplist[subject,section,subsection,subsubs

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Idris Samawi Hamid ادريس سماوي حامد
works, but the subject heading doesn't show up. For each approach, how do we get both subject heading and style=bold in the TOC? you set up individual lists elements at another level \setuplist[subject,section,subsection,subsubsection][alternative=c,style=bold] Ok - see below. loo

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Hans Hagen
get both subject heading and style=bold in the TOC? you set up individual lists elements at another level \setuplist[subject,section,subsection,subsubsection][alternative=c,style=bold] looks bad this: \setupinterlinespace[line=1.4ex] Between I) and II), which is the current recommended

[NTG-context] Table of contents: style and subject

2018-03-03 Thread Idris Samawi Hamid ادريس سماوي حامد
show it \starttext % Approach I \starttitle[title={Table of Contents},reference={}] \start \setupcombinedlist[content] [list={subject,section,subsection,subsubsection},alternative=c,style=bold] \setupinterlinespace[line=1.4ex] \placecontent \stop \stoptitle \page \startsection[title={Section One

Re: [NTG-context] TOC and appendices

2018-01-08 Thread Procházka Lukáš Ing .
TZ.sty \definestructureconversionset[Sec2A][,,A][n] %\definehead[SectionA][section] %\definehead[SubSectionA][subsection] %\definehead[SubSubSectionA][subsubsection] %\setuphead[SectionA,SubSectionA,SubSubSectionA][sectionconversionset=Sec2A] %\setupcombinedlist[content][list={chapter,section

Re: [NTG-context] Missing Chapter Numbers

2017-10-22 Thread Pablo Rodriguez
afraid that it doesn’t work as you expect, because you only used \section commands (no \subsection or \subsubsection ones). \setuphead[subsection][ placehead=hidden, number=no] % placehead=hidden breaks the counters? \setuphead[subsubsection][ placehead=hidden,

Re: [NTG-context] Missing Chapter Numbers

2017-10-22 Thread Thangalin
The following code does not hide the headings: \setuphead[subsection][ placehead=no, number=no, ] % placehead=hidden breaks the counters? \setuphead[subsubsection][ placehead=no, number=no, ] \starttext \chapter{chapter} chapter \section{section} section \section{subsection

Re: [NTG-context] sectionconversionset not working for table of contents

2017-09-18 Thread Pablo Rodriguez
pfrontmatter \startbodymatter \dorecurse{3}{\chapter{Chapter} \dorecurse{3}{\section{Section}} \dorecurse{3}{\subsection{Subsection}} \dorecurse{3}{\subsection{Subsection}} \dorecurse{3}{\subsubsection{Subsubsection}}} \stopbodymatter \sta

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-09 Thread Hans Hagen
On 8/8/2017 10:43 PM, Pablo Rodriguez wrote: On 08/08/2017 09:36 AM, Hans Hagen wrote: On 8/7/2017 11:03 PM, Pablo Rodriguez wrote: But even in that case, numbering from: \section{A} \subsubsection{B} gives: 1 A 1 B Should it be the following? 1 A 1.1 B

Re: [NTG-context] Could you look at this?

2017-08-08 Thread Idris Samawi Hamid ادريس سماوي حامد
ommand=\ParagraphNumber, insidesection=\hskip-0.49em] % adjust space after title \setuphead[subsection] [style=\bf, alternative=text, criterium=all, number=no, textcommand=\subParagraphNumber, insidesection=\hskip-0.49em] % adjust space after title \setuphead[subsubs

Re: [NTG-context] Could you look at this?

2017-08-08 Thread Idris Samawi Hamid ادريس سماوي حامد
, criterium=all, number=no] \setuphead[subsection] [style=\bf, alternative=text, criterium=all, number=no] \setuphead[subsubsection] [style=\bf, alternative=text, criterium=all, number=no] \setupwhitespace[line] \def\startsectionpar{\startsection[title

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-08 Thread Pablo Rodriguez
On 08/08/2017 09:36 AM, Hans Hagen wrote: > On 8/7/2017 11:03 PM, Pablo Rodriguez wrote: >> But even in that case, numbering from: >> >> \section{A} >>\subsubsection{B} >> >> gives: >> >>1 A >>1 B >> >> Shoul

Re: [NTG-context] Could you look at this?

2017-08-08 Thread Idris Samawi Hamid ادريس سماوي حامد
ection] [style=\bf, alternative=text, criterium=all, number=no] \setuphead[subsubsection] [style=\bf, alternative=text, criterium=all, number=no] \setupwhitespace[line] \def\startsectionpar{\startsection[title={\ParagraphNumber}]} \def\startsubsectionpar{\startsection

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-08 Thread Idris Samawi Hamid ادريس سماوي حامد
On Tue, 08 Aug 2017 01:36:00 -0600, Hans Hagen <pra...@wxs.nl> wrote: On 8/7/2017 11:03 PM, Pablo Rodriguez wrote: On 08/07/2017 08:57 PM, Hans Hagen wrote: On 8/7/2017 5:08 PM, Pablo Rodriguez wrote: [...] I mean, in a common sectioning structure a \subsubsection comes

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-08 Thread Hans Hagen
On 8/7/2017 11:03 PM, Pablo Rodriguez wrote: On 08/07/2017 08:57 PM, Hans Hagen wrote: On 8/7/2017 5:08 PM, Pablo Rodriguez wrote: [...] I mean, in a common sectioning structure a \subsubsection comes after a \subsection. But I don’t think it must be mandatory. Well, it's all on purpose

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-07 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Hans, Pablo, On Mon, 07 Aug 2017 15:03:41 -0600, Pablo Rodriguez <oi...@gmx.es> wrote: On 08/07/2017 08:57 PM, Hans Hagen wrote: On 8/7/2017 5:08 PM, Pablo Rodriguez wrote: [...] I mean, in a common sectioning structure a \subsubsection comes after a \subsection. But I don’t think i

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-07 Thread Pablo Rodriguez
On 08/07/2017 08:57 PM, Hans Hagen wrote: > On 8/7/2017 5:08 PM, Pablo Rodriguez wrote: >> [...] >> I mean, in a common sectioning structure a \subsubsection comes after a >> \subsection. But I don’t think it must be mandatory. > > Well, it's all on purpose ... no

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-07 Thread Hans Hagen
On 8/7/2017 5:08 PM, Pablo Rodriguez wrote: 2. Look at the output of the adjusted version above - attached. Note that >> a subsubsection after a section gives 1.1 2.1 which are the same as those given by a subsection after a section. How can we get a subsubsection after a section to p

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-07 Thread Pablo Rodriguez
e output of the adjusted version above - attached. Note that > a subsubsection after a section gives > > 1.1 > 2.1 > > which are the same as those given by a subsection after a section. How can > we get a subsubsection after a section to produce the following? >

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-06 Thread Idris Samawi Hamid ادريس سماوي حامد
evisit the above for the future: 3 % section 3.0.1 % subsubsection 4 % section 4.1% subsection 4.1.1 % subsubsection How can we automate this? Hi Idris, if you only need a printed version, I think the following approach might help: \setupwhitespace[big] \setuphead[s

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-06 Thread Pablo Rodriguez
% section > 3.0.1 % subsubsection > > 4 % section > 4.1% subsection > 4.1.1 % subsubsection > > How can we automate this? Hi Idris, if you only need a printed version, I think the following approach might help: \setupwhitespace[big] \setuphead[section] [alter

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-06 Thread Idris Samawi Hamid ادريس سماوي حامد
e=text, insidesection=\hskip-1.2em] \setuphead[subsubsection] [style=\bf, after={\blank[big]}, before={\blank[big,medium]}, color=walayahgreen, alternative=text, insidesection=\hskip-1.2em] \define[1]\PARHEAD {{\bf{#1}}} \starttext \starttitle[title=Section 1] \startsection

Re: [NTG-context] methods for numbered paragraphs

2017-08-06 Thread Wolfgang Schuster
ection][style=\bfa,after={\blank[big]},before={\blank[big,medium]},color=walayahblue] \setuphead[subsection][style=\bf,after={\blank[big]},before={\blank[big,medium]},color=walayahgreen,alternative=text,distance=0.28em] \setuphead[subsubsection][style=\tf,after={\blank[big]},before={\blank[big,

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-05 Thread Idris Samawi Hamid ادريس سماوي حامد
0.28em] \setuphead[subsubsection][style=\tf,after={\blank[big]},before={\blank[big,medium]},color=walayahred,alternative=text,distance=0.28em] \starttext \startsection[title=Section 1] \startsubsection \input ward \stopsubsection \startsubsection[title=Paragraph 2] \input ward \stopsubs

[NTG-context] methods for numbered paragraphs (ii)

2017-08-05 Thread Idris Samawi Hamid ادريس سماوي حامد
={\blank[big]},before={\blank[big,medium]},color=walayahblue] \setuphead[subsection][style=\bf,after={\blank[big]},before={\blank[big,medium]},color=walayahgreen,alternative=text,distance=0.28em] \setuphead[subsubsection][style=\tf,after={\blank[big]},before={\blank[big,medium]},color=walayahred

[NTG-context] methods for numbered paragraphs

2017-08-03 Thread Idris Samawi Hamid ادريس سماوي حامد
[subsection][style=\bf,after={\blank[big]},before={\blank[big,medium]},color=walayahgreen,alternative=text,distance=0.28em] \setuphead[subsubsection][style=\tf,after={\blank[big]},before={\blank[big,medium]},color=walayahred,alternative=text,distance=0.28em] \starttext \startsection[title=Section 1

Re: [NTG-context] Couple of questions

2017-07-31 Thread Jan Willem Flamma
driguez <oi...@gmx.es> wrote: > > On 07/31/2017 08:01 AM, Jan Willem Flamma wrote: >> Dear Gerion, >> >> Add >> >> \setuphead[subsubsection] >>[incrementnumber=no] > > Dear Jan Willem, > > do you have an explanation for that

Re: [NTG-context] Couple of questions

2017-07-31 Thread Pablo Rodriguez
On 07/31/2017 08:01 AM, Jan Willem Flamma wrote: > Dear Gerion, > > Add > > \setuphead[subsubsection] > [incrementnumber=no] Dear Jan Willem, do you have an explanation for that behaviour? At least to me, it isn’t very intuitive (I’m trying to understand). Many th

Re: [NTG-context] Couple of questions

2017-07-31 Thread Gerion Entrup
Am Montag, 31. Juli 2017, 08:01:49 CEST schrieb Jan Willem Flamma: > Dear Gerion, > > Add > > \setuphead[subsubsection] > [incrementnumber=no] This works :). Thank you very much! Gerion > > On 30 Jul 2017, at 22:51, Gerion Entrup <gerion.entrup-c...@flump.de&

Re: [NTG-context] Couple of questions

2017-07-31 Thread Jan Willem Flamma
Dear Gerion, Add \setuphead[subsubsection] [incrementnumber=no] Regards, Jan Willem Flamma > On 30 Jul 2017, at 22:51, Gerion Entrup <gerion.entrup-c...@flump.de> wrote: > > Am Samstag, 29. Juli 2017, 11:13:21 CEST schrieb Pablo Rodriguez: >> On 07/29/2017 04:45 AM

Re: [NTG-context] Couple of questions

2017-07-30 Thread Gerion Entrup
would say this may be a bug. Does someone know a way to workaround? This only way I see is to simply simulate a subsubsection (with some blanks and a big font). Gerion > I don’t know how it is implemented, but prefixsegments (or prefixes) for > captions only work when number is enable

Re: [NTG-context] Couple of questions

2017-07-29 Thread Pablo Rodriguez
efixsegments=chapter] \setuphead[subsubsection][number=yes] \starttext \chapter[title=Kapitel] \placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]} \section[title=Abschnitt] \placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]} \subsection[title=Hier gibt’s

Re: [NTG-context] Couple of questions

2017-07-28 Thread Gerion Entrup
curse{5}{\placefigure{Eine andere Kuh} > {\externalfigure[cow.pdf]}} > \dorecurse{5}{\chapter{Kapitel} > \placefigure{Noch eine andere Kuh}{\externalfigure[cow.pdf]}} > \stoptext > > In general, please provide minimal samples of code that show your problem. Was not that sim

[NTG-context] controlling title head distances when grid is enabled

2017-02-23 Thread Csikos Bela
Dear context users: I would like to typeset my documents to gridlines. If grid is enabled, the distances between titles (section, subsection,subsubsection heads) and text are too big. Here's an example: \setuplayout[grid=yes] \showgrid \starttext \section{Section One} \input tufte \subsection

[NTG-context] Section 1.2)-3

2017-02-16 Thread Procházka Lukáš Ing .
Hello, how to \setuphead to produce numbers like "1.2)-3"? \setuphead[section][] \setuphead[subsection][] \setuphead[subsubsection][] \section{Sec} % To give "1. Sec" \subsection{SSec} % To give "1.1) SSec" \subsubsection{SSSec} % To give "1.1)-1

Re: [NTG-context] Captions numbering

2016-09-04 Thread Jose Luis Arellano
ed section in TOC but unfortunately this causes the captions numbering problem. In the following example you can check that when one use a figure/table in a unnumbered section, captions will shown as Table 1, and not as Table 1.1. \setuphead[chapter, section, subsection] \setuphead[subsubsection][number=

Re: [NTG-context] Captions numbering

2016-09-02 Thread Jose Luis Arellano
..@icloud.com>: > > Hi Jose Luis, > > I eventually solved this by setting up the subsubsection as follows: > > \setuphead[subsubsection] > [incrementnumber=no] > > This links to a set of test files on the pragma website and maybe of use to > you: http://context.aan

Re: [NTG-context] Captions numbering

2016-09-01 Thread Jan Willem Flamma
Hi Jose Luis, I eventually solved this by setting up the subsubsection as follows: \setuphead[subsubsection] [incrementnumber=no] This links to a set of test files on the pragma website and maybe of use to you: http://context.aanhet.net/download-1.htm Kind regards, Jan Willem > On

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Wolfgang Schuster
uplist[section][width=1em] \setuplist[subsection][width=1.5em, margin=0.6em] \setuplist[subject][margin=1.5em] \setupcombinedlist[content][list={part,chapter,section,subsection,subsubsection}] \setupinteraction [state=start, style=, color=, contrastcolor=] \setuplist [c

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-07-01 Thread Ursula Hermann
gin=0.6em] \setuplist[subject][margin=1.5em] \setuppagenumbering \setupcombinedlist[content][list={part,chapter,section,subsection,subsubsection}] None of the above setups are needed for a minimal example, remove them next time. \setupuserpagenumbering[conversion=romannumerals] You’re

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-07-01 Thread Ursula Hermann
ection][width=1.5em, margin=0.6em] \setuplist[subject][margin=1.5em] \setuppagenumbering \setupcombinedlist[content][list={part,chapter,section,subsection,subsubsection}] None of the above setups are needed for a minimal example, remove them next time. \setupuserpagenumbering[conversion=roman

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-30 Thread Otared Kavian
bsection][chapter,section] >> \setupinteractionscreen[option=bookmark]\starttext >> \setuplist[chapter] >> \setuplist[section][width=1em] >> \setuplist[subsection][width=1.5em, margin=0.6em] >> \setuplist[subject][margin=1.5em] >> \setuppagenumbering >> \setupcom

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-30 Thread Otared Kavian
rget this line! >> % make chapter, section bookmarks visible when opening document >> \placebookmarks[chapter,section,subsection][chapter,section] >> \setupinteractionscreen[option=bookmark]\starttext >> \setuplist[chapter] >> \setuplist[section][width=1em] >> \set

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-28 Thread Ursula Hermann
ction][width=1em] \setuplist[subsection][width=1.5em, margin=0.6em] \setuplist[subject][margin=1.5em] \setuppagenumbering \setupcombinedlist[content][list={part,chapter,section,subsection,subsubsection}] None of the above setups are needed for a minimal example, remove them next time. \setupu

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-28 Thread Ursula Hermann
uplist[subject][margin=1.5em] \setuppagenumbering \setupcombinedlist[content][list={part,chapter,section,subsection,subsubsection}] None of the above setups are needed for a minimal example, remove them next time. \setupuserpagenumbering[conversion=romannumerals] You’re l

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-24 Thread Wolfgang Schuster
bering \setupcombinedlist[content][list={part,chapter,section,subsection,subsubsection}] None of the above setups are needed for a minimal example, remove them next time. \setupuserpagenumbering[conversion=romannumerals] You’re looking for the \setupuserpagenumber command (but \setuppagenumber

Re: [NTG-context] Are nested sections possible?

2016-05-19 Thread docent.einstein
ets included in a book, > or the book gets parts. In the course of writing, one might decide to > add an additional level of structure and not want to change all of the > \start...\stop structure definitions. > &g

Re: [NTG-context] Move textrule closer to head

2016-04-13 Thread Tom Harrop
On 13/04/16 18:47, Pablo Rodriguez wrote: Hi Tom, how about another rule? (From http://wiki.contextgarden.net/Titles#Titling_Style.) \setuphead[subsubsection] [after=\hrule\blank] I hope it helps, Pablo Ahh, it's perfect. I missed that page of the wiki! Thank you

Re: [NTG-context] Move textrule closer to head

2016-04-13 Thread Pablo Rodriguez
On 04/13/2016 06:10 PM, Tom Harrop wrote: > Hello, > > I'm a ConTeXt beginner. I'm working on a document where I would like a > textrule under my subsubsection headings. If I use after=\textrule, the > placement of the textrule is too far from the heading, and I haven't > f

[NTG-context] Move textrule closer to head

2016-04-13 Thread Tom Harrop
Hello, I'm a ConTeXt beginner. I'm working on a document where I would like a textrule under my subsubsection headings. If I use after=\textrule, the placement of the textrule is too far from the heading, and I haven't found a way to move it closer to the heading either with \setuphead

Re: [NTG-context] How to get the current section level?

2016-04-04 Thread Procházka Lukáš Ing .
dinformation] \starttabulate \NC Name \EQ \currenthead \NC\NR \NC Level \EQ \currentheadlevel \NC\NR \stoptabulate \stopsetups \setuphead[chapter,section,subsection,subsubsection][after=\directsetup{headinformation}] \starttext \chapter{Chapter} \section{Section} \subsubsection{S

Re: [NTG-context] How to get the current section level?

2016-04-04 Thread Wolfgang Schuster
setups \setuphead[chapter,section,subsection,subsubsection][after=\directsetup{headinformation}] \starttext \chapter{Chapter} \section{Section} \subsubsection{Subsubsection} \stoptext Wolfgang ___ If your qu

[NTG-context] How to get the current section level?

2016-04-03 Thread Lukáš Procházka
;) \section{Sec} \GetCurrentSectionLevel % Should yield "section" or e.g. 2 (meaning "section") \subsubsection{SSSec} \GetCurrentSectionLevel % Should yield "subsubsection" or e.g. 4 (meaning "subsubsection") \stoptext Best regards, Lukas --

Re: [NTG-context] Are nested sections possible?

2016-03-24 Thread Hans Hagen
n't tell Hans this!). ha, well, if i remember right this nested anonymous sectioning was added on your request .. so it is now one of those orphaned features anyway, i tend to replace \chapter{foo} by \startchapter[title=foo] \stopchapter but at a much lower level keep using \subsubsectio

Re: [NTG-context] Are nested sections possible?

2016-03-15 Thread Alan BRASLAU
k gets parts. In the course of writing, one might > > decide to add an additional level of structure and not want to > > change all of the \start...\stop structure definitions. > > > > In fact, using fixed section, subsection, subsubsection is a bit > > antiquated, isn

Re: [NTG-context] Are nested sections possible?

2016-03-14 Thread Pablo Rodriguez
r example. > > Say one has an article that becomes a book, or gets included in a book, > or the book gets parts. In the course of writing, one might decide to > add an additional level of structure and not want to change all of the > \start...\stop structure definitions. > > In fact

Re: [NTG-context] Are nested sections possible?

2016-03-14 Thread Procházka Lukáš Ing .
f the \start...\stop structure definitions. In fact, using fixed section, subsection, subsubsection is a bit antiquated, isn't it? Alan ___ If your question is of interest to others as well, please add an entry to the Wik

  1   2   3   4   >